<template>
  <div class="page-content">
    <div class="header" style="margin-bottom: 1.5rem">
      <h3>小程序设置</h3>
    </div>
    <el-tabs v-model="tableLayout" class="demo-tabs">
      <el-tab-pane label="基本配置" name="1"> </el-tab-pane>
<!--      <el-tab-pane label="支付配置" name="2"> </el-tab-pane>-->
      <el-tab-pane label="隐私保护指引设置" name="3"> </el-tab-pane>
      <el-tab-pane label="体验者管理" name="4"> </el-tab-pane>
    </el-tabs>


    <we-app-component v-if="tableLayout === '1'"></we-app-component>

<!--    <pay-setting v-if="tableLayout === '2'"></pay-setting>-->

    <privacy-setting v-if="tableLayout === '3'"></privacy-setting>

    <experiencer-management v-if="tableLayout === '4'"></experiencer-management>
  </div>
</template>

<script setup lang="ts">
import weAppComponent from './components/weAppComponent.vue'
// import paySetting from './components/paySetting.vue'
import experiencerManagement from './components/experiencerManagement.vue'
import privacySetting from './components/privacySetting.vue'

const tableLayout = ref('1')
</script>

<style lang="scss" scoped>
.page-content {
  width: 100%;
}
</style>
